# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
pkgname=awscli-plugin-endpoint
pkgver=0.4
pkgrel=2
pkgdesc="Allows overriding endpoints in AWS CLI"
url="https://github.com/wbingli/awscli-plugin-endpoint/"
# aws-cli
arch=""
#arch="noarch !armhf !armv7 !ppc64le !s390x !x86"
license="Apache-2.0"
depends="aws-cli python3"
makedepends="py3-setuptools"
options="!check" # no tests
subpackages="$pkgname-pyc"
source="https://github.com/wbingli/awscli-plugin-endpoint/archive/refs/tags/$pkgver/awscli-plugin-endpoint-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir" --skip-build
}

sha512sums="
0e81130ac6baf7b43a77e37213cbc042dca0cefd4a43db92cd6d7fe53d0f81e902d35ea055669477001158ee2cb5e898f5ea9474167a18203ecb7392f183d14a  awscli-plugin-endpoint-0.4.tar.gz
"
